define(['egis'],
    function (egis) {
        Window.deserializer = Window.deserializer || new egis.core.Deserializer();
        Window.container = Window.container || {};
        var container = function () {
            this._map = {};
            this.register = function (key, obj) {
                this._map[key] = obj;
            }
        }
        dsBridge.register('create_Container', function (sourceId) {
            var containerObj = new container();
            containerObj.register("spatialRef", {srid: 4490});
            Window.container[sourceId] = containerObj;
        });

        dsBridge.register('Container_register', function (sourceId, targetId, key, obj) {
            var container = Window.container[sourceId];
            var target = Window.container[targetId];
            if (!!target) {
                container.register(key, target);
            }
            else {
                container.register(key, obj);
            }
        });
    })